package com.bzkj.basicinfo.service.yxl;

import com.bzkj.basicinfo.domain.wms.StoStockEntity;
import com.bzkj.common.core.domain.AjaxResult;
import org.apache.ibatis.annotations.Param;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @Author：swj
 * @Desc
 * @Date：2025/7/28 10:28
 */
public interface YxlStoStockService {
    /**
     * 查询基础商品数据
     *
     * @return
     */
    List<StoStockEntity> queryBasicInfo(StoStockEntity entity);

    /**
     * 查询库存数据
     *
     * @return
     */
    List<StoStockEntity> queryStoStockInfo(StoStockEntity entity);

    /**
     * 库存盘点导出
     * @param entity
     * @param response
     * @return
     */
    AjaxResult exportStoStockInfo(StoStockEntity entity, HttpServletResponse response);

    /**
     * 库存日志查询
     * @param operator 操作人
     * @param operateType 操作类型
     * @param batchCode 批号
     * @param productName 商品名称
     * @param manufacturer 生产厂家
     * @param beginDate 开始日期
     * @param endDate 结束日期
     * @return
     */
    AjaxResult queryWmsStockLog( String operator,String operateType,String batchCode,String productName,
                                 String manufacturer,String beginDate,String endDate,Integer pageNum,Integer pageSize);
}
